
package com.hlpedu.mapper.impl;

import com.hlpedu.mapper.EmpMapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * 持久层接口实现类
 */
@Repository
  //  @Component
public class EmpMapperImpl implements EmpMapper {
    @Override
    public void addEmp() {
        System.out.println("mapper层的addEmp(方法执行了。。。。成功保存了一条员工信息)");
      //使用JDBC的方法执行SQL语句
    }
}